From: Juanma Barranquero Date: Sun, 4 Oct 2009 01:12:13 +0000 (+0000) Subject: * recentf.el (recentf-unload-function): New function. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10082 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=384ae9b4106637e63f9d40cddb1275bffd4a6fcf;p=emacs.git * recentf.el (recentf-unload-function): New function. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cfc66b8bd05..c048020b641 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-10-04 Juanma Barranquero + + * recentf.el (recentf-unload-function): New function. + 2009-10-04 Chong Yidong * cedet/semantic/db-file.el (semanticdb-default-save-directory): @@ -47,8 +51,8 @@ 2009-09-30 Eric Ludlam - * cedet/semantic/util-modes.el (semantic-highlight-func-mode): Doc - fix. + * cedet/semantic/util-modes.el (semantic-highlight-func-mode): + Doc fix. * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables): Only insert each variable once. diff --git a/lisp/recentf.el b/lisp/recentf.el index 81485a3190b..57eaa612da8 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -1361,6 +1361,12 @@ that were operated on recently." (message "Recentf mode %sabled" (if recentf-mode "en" "dis")))) recentf-mode) +(defun recentf-unload-function () + "Unload the recentf library." + ;; continue standard unloading + (recentf-mode -1) + nil) + (provide 'recentf) (run-hooks 'recentf-load-hook)